VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfTreeNodeList<T> Class / CopyTo(T[],Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
CopyTo(T[],Int32) Method (PdfTreeNodeList<T>)
In This Topic
Copies the entire PdfTreeNodeList<T> to a compatible one-dimensional array, starting at the specified index of the target array.
Syntax
'Declaration

Public Sub CopyTo( _
ByVal array
The one-dimensional System.Array that is the destination of the elements copied from PdfTreeNodeList<T>. The System.Array must have zero-based indexing.
() As T, _
ByVal arrayIndex
The zero-based index in array at which copying begins.
As System.Int32 _
)
public void CopyTo(
T[] array,
System.Int32 arrayIndex
)

Parameters

array
The one-dimensional System.Array that is the destination of the elements copied from PdfTreeNodeList<T>. The System.Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
Exceptions
ExceptionDescription
array is null.
arrayIndex is less than 0.
The number of elements in the source PdfTreeNodeList<T> is greater than the available space from arrayIndex to the end of the destination array.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also